// 此文件封装商品结算页API
import request from '@/utils/request'

export function getCheckOutInfoApi() {
    return request({
        url: '/member/order/pre'
    })
}

// 创建订单
export function createOrderApi(data) {
    return request({
        url: '/member/order',
        method: 'POST',
        data
    })
}